<?php echo \think\facade\View::fetch("public/header"); ?>

<div id="right">
    <div id="content">
        <div id="breadcrumb">
            <a href=index.php?c=article&a=index>首页</a> &gt;
            <a href="index.php?c=category">分类管理</a> &gt;
            编辑分类
        </div>
        <div id="table-add">
            <form action="/admin/category/editSave/" method="post">
                <table border="" cellspacing="" cellpadding="">
                    <tr>
                        <td width="190">分类id：</td>
                        <td><input type="text" value="<?php echo $category['category_id']; ?>" readonly="readonly" name="category_id"/>
                        </td>
                    </tr>
                    <tr>
                        <td>分类名称：</td>
                        <td><input type="text" name="category_name"
                                   value="<?php echo $category['category_name']; ?>"/></td>
                    </tr>
                    <tr>
                        <td>分类描述：</td>
                        <td>
                            <textarea name="category_desc"><?php echo $category['category_desc']; ?></textarea>
                        </td>
                    </tr>
                    <tr>
                        <td></td>
                        <td>
                            <input type="submit" value="提交" class="btn"/>
                            <input type="reset" value="重置" class="btn"/>
                        </td>
                    </tr>
                </table>
            </form>
        </div>
    </div>
</div>

<?php echo \think\facade\View::fetch("public/footer"); ?>
